    <div id="toolbar-box">
      <div class="t">
        <div class="t">
          <div class="t"></div>
        </div>
      </div>
      <div class="m">
        <div id="toolbar" class="toolbar">
            <table class="toolbar"><tbody><tr>
                    <td id="toolbar-save" class="button"><a class="toolbar" onClick="javascript: submitbutton('save'); return false;" href="javascript:void(0);"> <span title="Save" class="icon-32-save"> </span> Save </a> </td>
                    <td id="toolbar-cancel" class="button"><a class="toolbar" onClick="javascript: submitbutton('cancel'); return false;" href="javascript:void(0);"> <span title="Cancel" class="icon-32-cancel"> </span> Cancel </a> </td>
            </tr></tbody></table>
        </div>
        <div class="header icon-48-user">Tạo giỏ trái cây</div>
        <div class="clr"></div>
      </div>
      <div class="b">
        <div class="b">
          <div class="b"></div>
        </div>
      </div>
    </div>
    <div class="clr"></div>
    <div id="submenu-box">
      <div class="t">
        <div class="t">
          <div class="t"></div>
        </div>
      </div>
      <div class="m">
        <ul id="submenu">
          <li> <a href="<?php echo $this->Html->url(array('controller'=>'basket_ties','action'=>'index')); ?>">Nơ</a> </li>
          <li> <a href="<?php echo $this->Html->url(array('controller'=>'basket_text', 'action'=>'index')); ?>">Thông điệp</a> </li>
        </ul>
        <div class="clr"></div>
      </div>
      <div class="b">
        <div class="b">
          <div class="b"></div>
        </div>
      </div>
    </div>
    <div id="element-box">
      <div class="t">
        <div class="t">
          <div class="t"></div>
        </div>
      </div>
      <div class="m">
    <script language="javascript" type="text/javascript">
            function submitbutton(pressbutton) {
                    var form = document.adminForm;
                    if (pressbutton == 'cancel') {
                            submitform( pressbutton );
                            return;
                    }
                    if(pressbutton == 'save'){
                        if($('#BasketTitle').val() == ''){
                             h3l_show_alert($('#BasketTitle'), 'Vui lòng nhập title');
                             $('#BasketTitle').focus();
                             return;
                        }
                                var re = /^.*[0-9]+$/i;
                                if(!re.test($('#BasketPrice').val())){
                                    $('#BasketPrice').focus().val('');
                                    h3l_show_alert($('#BasketPrice'), 'Vui lòng nhập giá sản phẩm');
                                    return;
                                }
                                if(!re.test($('#BasketPriceSearch').val())){
                                    $('#BasketPriceSearch').focus().val('');
                                    h3l_show_alert($('#BasketPriceSearch'), 'Vui lòng nhập giá sản phẩm');
                                    return;
                                }
                            var re = /^.*\.[gif|jpg|jpeg|jpe|png]+$/i;
                            if(!re.test($('#BasketImagesSmall').val())) {
                                h3l_show_alert($('#BasketImagesSmall'), 'chọn 1 hình ảnh kích thước lớn có phần mở rộng là (gif|jpg|jpeg|jpe|swf|png)!');
                                $('#BasketImagesSmall').focus();
                                return;
                            }
                            if(!re.test($('#BasketImagesLarge').val())) {
                                h3l_show_alert($('#BasketImagesLarge'), 'chọn 1 hình ảnh kích thước lớn có phần mở rộng là (gif|jpg|jpeg|jpe|swf|png)!');
                                $('#BasketImagesLarge').focus();
                                return;
                            }
                    }
                    submitform( pressbutton );
            }
    </script>
    <?php echo $this->Form->create('Basket', array('type'=>'file', 'style'=> 'clear: both;', 'name'=>'adminForm', 'id'=>'adminForm')); ?>
      <div class="col">
        <fieldset class="adminform">
        <legend>User Details</legend>
        <table cellspacing="1" class="admintable">
          <tbody>
            <tr>
              <td width="150" class="key"><label for="title"> title </label>
              </td>
              <td>
                    <?php echo $this->Form->input('title', array('class'=>'inputbox', 'size'=> 40, 'label'=> false)); ?>
              </td>
            </tr>

            <tr>
              <td width="150" class="key"><label for="published"> Published </label>
              </td>
              <td>
                    <?php echo $this->Form->radio('published', array('1'=> 'Yes', 0=>'No'), array('legend'=>false,'default'=> '1')); ?>
              </td>
            </tr>
            <tr>
              <td width="150" class="key"><label for="status">status</label>
              </td>
              <td>
                    <?php echo $this->Form->select('status',$status_list, array('empty'=> false,'secure'=>true)); ?>
              </td>
            </tr>
            <tr>
              <td width="150" class="key"><label for="price"> price </label>
              </td>
              <td>
                    <?php echo $this->Form->input('price', array('class'=>'inputbox', 'size'=> 40, 'label'=> false)); ?>
              </td>
            </tr>
            <tr>
              <td width="150" class="key"><label for="price_search"> price search </label>
              </td>
              <td>
                    <?php echo $this->Form->input('price_search', array('class'=>'inputbox', 'size'=> 40, 'label'=> false)); ?>
              </td>
            </tr>
            <tr>
              <td width="150" class="key"><label for="images_small">Thumbnail </label>
              </td>
              <td>
                    <?php echo $this->Form->input('images_small', array('type'=>'file', 'class'=>'inputbox', 'size'=> 40, 'label'=> false)); ?>
              </td>
            </tr>
            <tr>
              <td width="150" class="key"><label for="images_large"> large Thumbnail </label>
              </td>
              <td>
                    <?php echo $this->Form->input('images_large', array('type'=>'file', 'class'=>'inputbox', 'size'=> 40, 'label'=> false)); ?>
              </td>
            </tr>



           <tr>
              <td width="150" class="key"><label for="note"> note </label>
              </td>
              <td>
                    <?php echo $this->Form->input('note', array('class'=>'inputbox', 'cols'=> 80, 'label'=> false, 'type'=>'textarea')); ?>
              </td>
            </tr>
            <tr>
              <td class="key"><label for="content">Content </label>
              </td>
              <td>
                    <?php echo $this->Editor->loadEditor('data[Basket][description]'); ?>
              </td>
            </tr>
          </tbody>
        </table>
        </fieldset>
      </div>
      <div class="clr"></div>
      <?php echo $this->Form->input('id', array('type'=>'hidden')); ?>
      <input type="hidden" name="task" value="" />
    </form>
        <div class="clr"></div>
      </div>
      <div class="b">
        <div class="b">
          <div class="b"></div>
        </div>
      </div>
    </div>
